package com.bingo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bingo.common.R;
import com.bingo.entity.Put;
import com.bingo.entity.dto.NewSeedLings;
import com.bingo.entity.dto.everyDayForm.EveryDayPut;
import com.bingo.entity.dto.resp.PutRecord;
import com.bingo.entity.dto.resp.RespSitePut;

import java.sql.Date;
import java.util.List;

public interface PutService extends IService<Put> {
    //汇总查询新苗投塘
    NewSeedLings getNewSeedLings(String poolNo, Date startDate, Date endDate);

    //新增新苗投塘记录
    R addPut(String poolNo, Integer quantity, Double weight, Date date, String userId, Integer isUpdate);

    //查询塘的新苗投塘记录
    List<EveryDayPut> selectEveryDayPut(List<String> poolNos, Date startDate, Date endDate);

    //查询新苗投塘记录
    List<PutRecord> selectPutRecord(List<String> poolNos, Date startDate, Date endDate, String userId);

    //查询场的投苗记录
    List<RespSitePut> selectSitePut(List<String> siteNos, Date startDate, Date endDate);

}
